from checkin import app
import  hello
from mqtt import client
from scheduler import get_scheduler

if __name__ == '__main__':
    #checkin()
    scheduler = get_scheduler()
    if not scheduler.running:
        scheduler.start()
    # app.run(host='0.0.0.0',port=9090,debug = True)
    client.loop_start()
    # 开启 debug 模式
    app.run(host='0.0.0.0', port=8888,debug = True)
    # app.run(host='0.0.0.0',port=9090,debug = True)